package apka.SMSBillet.CTR;


import android.location.Location;
import android.location.LocationListener;
import android.os.Bundle;


public class CTRgps implements LocationListener
	{
		private Location loc;
		 
		@Override
		public void onLocationChanged(Location loc) {
			this.setLoc(loc);
		}

		@Override
		public void onProviderDisabled(String provider) {
//			Toast.makeText(getApplicationContext(), "No signal available",
//					Toast.LENGTH_SHORT).show();
			}

		@Override
		public void onProviderEnabled(String provider)
		{
//			Toast.makeText(getApplicationContext(),
//			"Signal available",
//			Toast.LENGTH_SHORT).show();
		}

		@Override
		public void onStatusChanged(String provider, int status, Bundle extras)
		{
		}

		public void setLoc(Location loc) {
			this.loc = loc;
		}

		public Location getLoc() {
			return loc;
		}
}
